package com.habdqn.attendance.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.RequiredArgsConstructor;

import java.io.Serializable;

/**
 * 部门表(Department)实体类
 *
 * @author makejava
 * @since 2019-10-23 14:35:08
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Department implements Serializable {
    /**
     * 部门编号
     */
    private Integer id;
    /**
     * 部门名称
     */
    private String name;

    public Department(String name) {
        this.name = name;
    }
}